package cn.edu.fzu.homemaking.chat.api;

import cn.edu.fzu.homemaking.web.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "sys")
public interface SysApi {

    @GetMapping("/api/sys/company/getById")
    Result getCompanyById(@RequestParam("id") Long id);

}
